package com.cheer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheer.entity.OaIntegralEntity;

/**
 * 积分明细
 *
 * @author cheer
 */
public interface OaIntegralService extends IService<OaIntegralEntity> {

    /**
     * 增加积分
     * @param openid
     */
    void add(String openid);

    /**
     * 更新缓存
     * @param oaUserId
     * @param credit
     */
    void updateYearCatch(Integer oaUserId, Integer credit);

}

